package com.sharekitchen.entity;

public class PieChart {

//    饼图权重 默认为1,重复就+1
    private int value;
    //    饼图名字 使用小时来当名字整点,不足一小时当一小时
    private String name;

    public PieChart(int value, String name) {
        this.value = value;
        this.name = name;
    }

    public PieChart() {
    }

    @Override
    public String toString() {
        return "PieChart{" +
                "value=" + value +
                ", name=" + name +
                '}';
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
